﻿using System;
using System.Collections.Generic;

namespace ORM.NHibernateDemo.Models
{
    public class Person
    {
        public virtual DateTime CreateTime { get; set; }
        public virtual int ID { get; set; }
        public virtual string Name { get; set; }
        public virtual bool IsOnSchool { get; set; }
        public virtual string Email { get; set; }
        public virtual Enums.Subjects Subject { get; set; }
        public virtual float Score { get; set; }
        public virtual string Description { get; set; }
        public virtual Major Major { get; set; }
        public virtual IList<Book> Books { get; set; }
    }
}